﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yitter.IdGenerator;

namespace Kstopa.Core.Utils
{
    public static class CommonUtils
    {
        /// <summary>
        /// 获取唯一Id
        /// </summary>
        /// <returns></returns>
        public static long GetSingleId()
        {
            return YitIdHelper.NextId();
        }
    }
}
